
import keyi_test

def main():
  secretId = "开发者的secretId"
  secretKey = "开发者的secretKey"
  projectId = 1 # 请换成项目ID
  keyCode = "卡密的keyCode"
  machineId = "请换成机器码"
  test = keyi_test.KeYiTest(secretId,secretKey,projectId)
  test.simple(keyCode,machineId)
  test.test_cloud_config(keyCode,machineId)
  # test.test_device_limit(keyCode,machineId)
  # test.test_device_limit2(keyCode)
  # test.test_too_many_requests(keyCode,machineId)
  # test.test_invalid_project_id(keyCode,machineId)
  # test.test_suspended_keycard(keyCode,machineId)
  # test.test_suspend_keycard_on_running(keyCode,machineId)
  # test.test_session_timeout(keyCode,machineId)
  

if __name__ == "__main__":
  main()



